﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Glossary
{
    public class Student
    {
        public int StudentID { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string SocialSecurityNumber { get; set; }
        public Adress Adress { get; set; }

        public Student()
        {
            Adress = new Adress();
        }

        public override string ToString()
        {
            return string.Format("{0} {1}\r\n{2}\r\n\r\n{3}", FirstName, LastName, SocialSecurityNumber, Adress);
        }
    }
}